package com.pos;

import java.util.ArrayList;
import java.util.List;

public class Cart {
	private List<Book> books = new ArrayList<Book>();

	public void addBook(Book book) {
		books.add(book);
	}

	public void delBook(Book book) {
		books.remove(book);
	}

	public List<Book> getBooks() {
		return books;
	}

	public void clear() {
		books.clear();
	}

}
